home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / EDEMO.DIR / 00184_Script_184 < prev    next >
Text File  |  1995-09-12  |  351b  |  20 lines

  1. global gWhatMovie,gInitGlobals,gHowLongMovie,gBtn4
  2.  
  3. on startmovie
  4.   put "EGyptW" into gWhatMovie
  5.   set gInitGlobals = 1
  6.   InitBYLDemo
  7. end
  8.  
  9. on stopmovie
  10.   if ObjectP(gBtn4) then
  11.     KillBYLButton
  12.   end if
  13.   unloadcast
  14.   sound fadein 2, 2*60
  15. end
  16.  
  17. on CheckMovieLength whichCast
  18.   set gHowLongMovie = the duration of cast whichCast
  19. end
  20.